<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>过度</title>

    <style>

        div {
            width: 200px;
            height: 100px;
            background-color: pink;
            /* 单个属性变化 */
            /* transition: width 1.5s ease .5s; */
            /* 多个属性变化 */
            /* transition: width 1.5s ease .5s, height 1s .1s; */
            transition: all 0.5s;
        }

        div:hover {
            width: 500px;
            height: 300px;
            background-color: skyblue;
        }

    </style>
        
</head>
<body>
    
    <img src="过度.png" alt="">
    <br><br>

    <div></div>

</body>
</html>